package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Circuit;
import org.apache.ibatis.annotations.Param;

import java.util.Currency;
import java.util.Date;
import java.util.List;

public interface CircuitMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Circuit record);

    int insertSelective(Circuit record);

    Circuit selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Circuit record);

    int updateByPrimaryKey(Circuit record);

    List<String> getCircuitList(@Param("key") String key, @Param("circuit") Circuit circuit);

    //List<String> selectCircuitList(String key, Circuit circuit);

    List<Circuit> selectListCircuitByListTid(@Param("stringList") List<String> stringList, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

    List<Date> selectXcDate(String zrc);

    List<Circuit> seleByXcrq(String xcrq);

    public List<Circuit> sleletongji(Circuit circuit);
}